package sk.xorty.endpoints.common;

import org.springframework.integration.Message;
import org.springframework.stereotype.Component;

@Component
public class Outputter {

    public void printMessage(Message<?> message) {
        System.out.println("headers: " + message.getHeaders());
        System.out.println("payload: " + message.getPayload());
    }
}
